package com.tiantianyuegou.view.pass;


import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.Gravity;
import android.view.ViewGroup.LayoutParams;

import com.tiantianyuegou.R;

/**
 * 
 *@Title:支付对话框
 *@Description:
 *@Author:trouble
 *@Since:2015-9-27
 *@Version:1.1.0
 */
public class PayPasswordDialog extends Dialog {

	public PayPasswordDialog(Context context) {
		super(context, R.style.DialogTheme);
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.dialog_paypassword);
		setCancelable(true);
		setCanceledOnTouchOutside(false);
		getWindow().setGravity(Gravity.BOTTOM);
		getWindow().setLayout(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
	}
}
